package com.luxk.db.file;

public enum DBFileType {
	NONE(-1, "none"),
	CONTROL_FILE(0, "control file"),
	REDO_FILE(1, "redolog file"),
	DATA_FILE(2, "data file"),
	UNDO_FILE(3, "undo file"),
	TEMP_FILE(4, "temporary file");
	
	private int id;
	private String desc;
	
	private DBFileType(int id, String desc) {
		this.id = id;
		this.desc = desc;
	};
	
	public int getId() { return this.id; }
	public String getDesc() { return this.desc; }
}